<%--
  Created by IntelliJ IDEA.
  User: computer
  Date: 2021/6/6
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript">
    $(function() {

        $('.date_picker').date_input();

    })
</script>
<h1 align="center" style="color: #1a54e8">添加项目信息</h1>
<table class="update">
<%--    <tr>--%>
<%--        <td>Proid</td>--%>
<%--        <td><input id="proid" type="text" name="proid"></td>--%>
<%--    </tr>--%>
    <tr>
        <td>项目名</td>
        <td><input id="proname" type="text" name="proname"></td>
    </tr>
    <tr>
        <td>开始日期</td>
        <td><input id="begindate" type="date" name="begindate"></td>
    </tr>
    <tr>
        <td>结束日期</td>
        <td><input id="enddate" type="date" name="enddate"></td>
    </tr>
    <tr>
        <td>客户</td>
        <td><input id="customer" type="text" name="customer"></td>
    </tr>
<%--    <tr>--%>
<%--        <td>项目状态</td>--%>
<%--        <td><input id="state" type="text" name="state"></td>--%>
<%--    </tr>--%>
    <tr>
        <td>备注</td>
        <td><textarea id="remark" name="remark" cols="50" rows="5"
                      style="border-radius: 5px;background-color: rgba(255, 255, 255, 0.6);"></textarea></td>
    </tr>
    <tr>
        <td>负责部门</td>
        <td><select name="select" id="belong">
            <option value="1">销售部</option>
            <option value="2">项目部</option>
            <option value="3">研发部</option>
        </select>
        </td>
<%--        <td><input id="belong" type="text" name="belong"></td>--%>
    </tr>
    <tr>
        <td></td>
        <td><span id="updateresult4" style="color: red"></span></td>
    </tr>
    <tr>
        <td><button style="color: white;background-color: #1a54e8" onclick="addNewPro(${user.userid}, ${user.roleid})">添加</button></td>
    </tr>
</table>
